// 
// 
// 

package com.ssm.po;

import java.util.Date;

public class Department
{
    private Integer did;
    private String name;
    private Date addtime;
    private Integer state;
    
    public Department() {
    }
    
    public Department(final Integer did, final String name, final Date addtime, final Integer state) {
        this.did = did;
        this.name = name;
        this.addtime = addtime;
        this.state = state;
    }

    public Integer getDid() {
        return did;
    }

    public void setDid(Integer did) {
        this.did = did;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(final String name) {
        this.name = name;
    }
    
    public Date getAddtime() {
        return this.addtime;
    }
    
    public void setAddtime(final Date addtime) {
        this.addtime = addtime;
    }
    
    public Integer getState() {
        return this.state;
    }
    
    public void setState(final Integer state) {
        this.state = state;
    }
    
    @Override
    public String toString() {
        return "School [did=" + this.did + ", name=" + this.name + ", addtime=" + this.addtime + ", state=" + this.state + "]";
    }
}
